layui.use(top.layuiuse,
    function () {
        var watermark = layui.watermark;
        var kaPublic = layui.kaPublic;
        var kaGrid = layui.kaGrid;
        var admin = layui.admin;
        var adminConfigurationPath = "";
        var $ = layui.$;
        //公共
        var bodyUrl = kaPublic.initBodySetUp();
        //加载水印
        loadingWatermark(watermark);
        var params = {};
        // url Id 自己配置
        layui.kaAjax.ajax(layui.kaBgUrl.url("getKaGridParams" + bodyUrl.id), function (rs) {
            if (rs.code == 200) { 
                var data = rs.data;
                params = kaGrid.getKaGridParams(data);
            }
        }, {});
        kaGrid.init(params);
    }
)